<%@page import="de.fhb.easymealtime.repository.rezeptVO"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>3 Column CSS Layout - concise design</title>
<style type='text/css'>
.wrapper{
   margin: 0px auto;
   width: 1000px;
   height: 266px;
   background-color: #FF7E30
}
.header{
   float: left;
   width: 100%;
   background-color: #6699cc
}
.content{
   float: left;
   width: 100%;
   background-color: #FFFFFF
}
.footer{
   float: left;
   width: 100%;
   color: #FFFFFF;
   background-color: #000000
}
body {
   padding: 0px;
   margin: 0px;
   font-size: 90%;
   background-color: #00000
}
</style>
</head>
<body>
<div class="wrapper">
    <div class="header">
        <img src="Bilder/header1.png" width=1000/>
    </div>
    <div class="content">
	<%
		List<rezeptVO> rezepte = (List)request.getAttribute("rezepte");

		if(rezepte != null)
			for(rezeptVO rezept : rezepte)
			{
				out.print(rezept.getName() +"<br>");
			}
		else
			out.print("Es wurde kein Gericht mit diesem Schlagwort gefunden");

	%>
    </div>
    <div class="footer">
		<%@include file="footer.html" %>
    </div>
</div>
</body>
</html>